/*
 * Created: 2022-09-13 19:49:10
 * Author : 涛涛涛
 */

import React, { FC } from 'react';
import { View, Text, Input } from '@tarojs/components';
import { styled } from 'linaria/react';
import { useClassName } from '@/utils/index';
import InputWrap from './InputWrap/InputWrap';
export interface IProps extends ICompProps {}
JYInput.defaultProps = {} as Partial<IProps>;
function JYInput(props: IProps) {
    const { className, style } = props;
    const localClassName = useClassName('JYInput', className);
    return (
        <RootView className={localClassName} style={style}>
            <InputWrap isFocus={false}>
                <Input className="Input" type="text" />
            </InputWrap>
        </RootView>
    );
}
export default React.memo(JYInput as FC<IProps>);
const RootView = styled(View)`
    &.JYInput {
        .Input {
            font-size: 28px;
        }
    }
`;
